projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c92d5f4
)
cpupool: correct removing cpu from cpupool
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 9 Aug 2010 15:39:09 +0000
(16:39 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 9 Aug 2010 15:39:09 +0000
(16:39 +0100)
Corrects an error introduced with cs 21422.
Without the patch my machine crashed when removing a cpu from a
cpupool other than Pool-0.
Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
xen/common/schedule.c
patch
|
blob
|
history
diff --git
a/xen/common/schedule.c
b/xen/common/schedule.c
index 497da1862c59d79b6215d328696183c98c1e7c65..779ad1930f3566d91659db69b6b4e961bb256383 100644
(file)
--- a/
xen/common/schedule.c
+++ b/
xen/common/schedule.c
@@
-1313,7
+1313,7
@@
void schedule_cpu_switch(unsigned int cpu, struct cpupool *c)
spin_unlock_irqrestore(per_cpu(schedule_data, cpu).schedule_lock, flags);
- SCHED_OP(old_ops, free_vdata, vpriv);
+ SCHED_OP(old_ops, free_vdata, vpriv
_old
);
SCHED_OP(old_ops, free_pdata, ppriv_old, cpu);
}